<%layout("../common/_layout.html", {nav: "业务类型管理"}) {%>
<div class="result-title">
<div class="result-list">
  <a href="/admin/business/add" class="btn btn-primary btn6 mr10">添加业务类型</a>
</div>
</div>
<div class="result-content">
<table class="result-tab">
  <tr>
    <th width="5%">No.</th>
    <th>业务名称</th>
    <th>业务标识</th>
    <th>操作</th>
  </tr>
  <%for(business in businessList) {%>
  <tr>
    <td>${businessLP.index}</td>
    <td>${business.name}</td>
    <td>${business.tag}</td>
    <td>
      <a class="link-update" href="/admin/business/edit?id=${business.id }">修改</a>&nbsp;
      <a class="link-del" href="/admin/business/delete?id=${business.id }" onclick="return confirm('删除后无法恢复,确定要删除吗')">删除</a>&nbsp;
    </td>
  </tr>
  <%}%>
</table>
</div>
<%}%>